fix http.Request.RemoteAddr bug when using a proxy frontend