Support for custom certificate validation callbacks on TcpTransport