Fix the cookie/key_share extensions for use with SSL_stateless()