Proxysupport

Added basic proxy_uri support, existing tests pass but no new tests written.