fix global var name, remove TCPSocket unification