Error: should have been an HTTP/1.1 request with a valid path and Host: