splitting content-rewriting parts into individual through streams
changing proxied URLS to just be root-relative so that it doesn't need to know about reverse proxies and x-original-protocol. Added unit tests. Fixes #19