Add sockjs example.

I've added a sockjs example, as I was trying to get a prototype running with that and noticed that there seem to be
some issues with setting this up for 0.7. It seems0.7 relies on the connection to stringify/parse the objects, but sockjs doesn't do that. I've added a temporary fix, but I think this needs to be addressed in a more general way.