Fix http-proxy accidently being a dev dependency
Add support for mocking file through proxies and fix issues with Content-Length being invalid on contents with multibyte characters