Initial implementation of SSL peer certificates custom verifiers

There were some talks and ideas to generalize peer certificate validation, and not limit to fingerprint and hostname validations.
This is my first attempt to address this feature.