Split Socket Module into 3 parts: leader, socketio & socket.
The original socket module was too large and complex, and needed simplification.