Modified to include blocking so that it's harder to break if you start to write to the websocket immediately.
Changed the test hostname to be my externally facing connection.
Added new methods to write.  Modified it so that you're not sending a string and also added methods that will allow you to broadcast the result of activating a pin as well as the ability to read a response after a pin is activated.
Fixed bug where I was assigning pins wrong.
Initial commit to add a queuing mechanism with a separate thread for handling sending messages.
Modified so that failure to queue a message results in a boolean return for graceful handling.
Modified so that failure to queue a message results in a boolean return for graceful handling.
Added comments about what the JSON Callback functions are for.