Fixed for HTTP requests to ports other than port 80