socket server draft 2