Make it possible to provide a custom remote cert validator and local cert selector

Manually integrates https://github.com/rabbitmq/rabbitmq-dotnet-client/pull/12
Merge bug25895 into default