Ruby 807: Raise exception when driver does not support server wire versions.

Added features for ease of adding them in the future and refactored a bit.
would it be better to check scram_sha_1_enabled? for clarity?