(CDAP-356) Add HttpRequests API to handle raw InputStream response

`conn.getErrorStream()` can be null