initial version of server socket