Refactoring: renammed DialogHandler to TCPHandler