Prevent hanging in proxy requests that attempt keep-alive behavior.

When copying the GET/POST proxy responses, scan for the content-length
and limit the copying length to the headers plus this data.  Otherwise,
the IoUtils.copyNoClose call will block forever (or until timeout) when
the remote server does not close the connection.

See issue tntim96/JSCover/#91