Fixed memory leak in ssl_free() and ssl_reset() for active session
Fixed comment
Fixed typo in base64.h