s->server=0;
void SSL_set_connect_state(s)SSL *s;	{	s->shutdown=0;	s->state=SSL_ST_CONNECT|SSL_ST_BEFORE;	s->handshake_func=s->method->ssl_connect;	/* clear the current cipher */	ssl_clear_cipher_ctx(s);	}