create new server/client socket for each connection. fix ip argument handling in _connect()