Added a secure WebSocket client example.

I added an example for a secure WebSocket client. It's mostly a copy of the existing WebSocket client example. This should resolve issue #1831. I also signed your CLA.