Stricter initialization of the SSL context structure
Share the SSL context initialization code between client and server