Created initial SocketHandler (should be changed to FSM).