fixed REMOTE_ADDR in HTTP/1.1 mode