Add reverse proxy code