implemented socket connection with server