Fixed issue that broke downloading from HTTP servers