Restore forward proxy capability

Forward proxy capability was shadowed by the original hack enabling reverse proxy functionality.
Restored original functionality in case of $REVERSE_PORT environment variable not being set.