Adding a listening handler to the server tcp transport.