Re-organize DatTCP's API methods for more control

This modifies DatTCP's API methods to allow more control of the
server.