Reverse proxy with script injection