externalize the creation of sockets and make the more customizable. (also eliminating a bug that wasn't passing the ca path to the ssl configuration.)
make sending events to different modules more modular.
run a websocket server for receiving events.
example code for connecting to the rest and websocket apis.
send clients events as they come
Merge branch 'ssl-websockets'
bumping version number