Make places to bind/unbind SSL object with/from NetVC (#7399)

There were two places calling SSLNetVCAttach, TLSSessionResumptionSupport::bind,
and we had to maitain the both places when we add another binding.

This adds helper functions to unify code for binding.
2 files changed