mod client echo socket
auto connect to server when socket close