Bugfix: fix setting _sock_peerhost (it used to display 127.0.0.1 all the time)