SGF offers a low-level socket connection through the WebSocket protocol. This allows for real time networking inside your game. All game clients MUST implement Client, but only capable game clients should implement Server.
Client
Server
Connects to remote instances of Server, or any other compliant WebSocket server.
Acts as a server to maintain connections between multiple instances of your game (and possibly even different game engines!).