Smart reverse proxy in Go