Updates to align TCPServerSocket interface with current versions of TCP and UDPSocket interfaces.
Ref: https://github.com/sysapps/tcp-udp-sockets/issues/77