Fix "remote_ip" in HTTP/HTTPS, with PROXY protocol

handle empty bridages