reqs.c: fix port parsing in extract_ssl_url()
child_main: always increment ptr->connects
sock: fix logging resolved ip address