configurationOf

Builds the effective SSL configuration for a connection.

Kept separate from negotiate because the configuration outlives the handshake: a cancel request travels on a second connection of its own and has to be given the same treatment.