Access to ssl::stream is now synchronized