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

use APR and use ip as hostname (for %h logging compatibility)