#226 Fix proxy discards reponse bodies upon 400

The `HttpURLConnection` throws an exception, when the returned status code indicates an error. Instead of reading from the input stream, we have to read from the error stream if that happens.