remote_addr, remote_port test code added - #4