added ip-address to socket object