Free SSL struct...
Handle ping and pong.
Don't use const for msgs.

This causes problems with things such as pings and pongs... When you want to reply with the same exact payload, you cannot pass a const char* to the send function, since that will then try to mask the data inline.