TCP client module that supports auto reconnection.