use SSL3_VERSION_MAJOR instead of SSL3_VERSION etc.