Update tlszmq.cpp

1. Make SSL_CTX static so it can be initialized once per run instead of per instance.
2. introduce SSL_CLIENT and SSL_SERVER enums
3. make update() private. It can be called internally each time a read or write is done to the buffers.
4. Add a shutdown method to cleanup the SSL session.