s->server=1;
void SSL_set_accept_state(s)SSL *s;	{	s->shutdown=0;	s->state=SSL_ST_ACCEPT|SSL_ST_BEFORE;	s->handshake_func=s->method->ssl_accept;	/* clear the current cipher */	ssl_clear_cipher_ctx(s);	}