minor client/server updates for sockets