specialunderwear/websocketpp — comment on commit 77a2208501cb88957d9fa4483d33c00b0435cd7a
File:  line 0
By megabyte1024:

Please take into an account that for the plain sockets the on_tls_init method will be never called.

>But you don't need a connection to set up an ssl context, you need the io_service, so this is more direct!

Do you need the io_service during the context initialization? If yes, I have no questions.