Issues #1/#62: Socket status commands, "wait" parameter on server.connect
SocketConnectThread clears ref to itself when it ends.