TLSConnection: flesh out more of the TLSConnection API.