Added back the ip addr printing w/getsockname().