Add REVERSE_PORT option

Enables usage as a reverse proxy.