Set the server_name callback function on the server, which is used for SNI negotiation, cb can be NULL.