With TCP/netstring servers it is often desired to use the TCP connection as a session to enable stateful applications. For this, one would need to access the Protocol instance or to be able define a handler so that a new instance is created for each connection.