add: session->node->state = OPN_NODE_STATE_CONNECTING;
context: BOOL opn_session_connect(OpnSession *session, OpnNode *node){	assert(session);	assert(node);		if (!(session->con = tcp_open(node->ip, node->port, FALSE)))		return FALSE;	session->node = node;	input_add(session->con->fd, session, INPUT_WRITE,	          on_session_connect, TIMEOUT_DEF);		return TRUE;}