add support for being proxied to