Template for custom implementation of Server Socket.