rename listening socket to server socket