more work on reverse proxy