Add support for reverse proxying

Summary: Augment the VirtualHost redirect code so that -1 means
reverse proxy, and implement support for it in RequestURI

Reviewed By: @afrind

Differential Revision: D1711599