Initial application code

This includes initial application code for using shmock in a web browser in karma, via a web socket.