fix a few issues

ip: send the ip address
vhost: set ssl settings correctly