Enable creation of SSLHandler with remote address information

Description

External PR:
https://github.com/datastax/java-driver/pull/782

Enable creation of SSLHandler with remote address information. This is needed to instantiate SSLEngine/SSLHandler with remote address information set, which enables doing hostname verification (for example through a custom TrustManager).

We cannot take this information from SocketChannel since it is not connected yet at the time Connection.Initializer creates the SSLHandler.

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Alexandre Dutra

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Fix versions

Priority

Major
Configure