FELIX-4375 - improve stream handling: - improve the reading of gosh scripts from URLs using the proposed patch.