Move generic_print_to_string() to openssl_utils.c
Add get and set_ssl_session(), and tests
Add SSL_set_options()