This is only used for something which could happen upfront, so I moved
some things around to make this the case.
I made this change when I thought we'd want to template this class on
whether it was tls or not due to integrating with boost::beast::basic_stream,
but I've since figured out that isn't going to help us here so the next change isn't
needed. I thought this commit was still useful to tidy up the interface.
This is only used for something which could happen upfront, so I moved some things around to make this the case.
I made this change when I thought we'd want to template this class on whether it was tls or not due to integrating with boost::beast::basic_stream, but I've since figured out that isn't going to help us here so the next change isn't needed. I thought this commit was still useful to tidy up the interface.