changed SSL_METHOD* type to const in declaration to avoid type error, various naming convention edits