Renamed HTTP errors and corrected bug when creating URL's.