Add hook for configuring the TCP server

This adds a defined hook where a DatTCP server's TCP server can
be configured. This is so socket options can be set to customize
the TCP server without having to hack it in somewhere else.