added messy proof of concept code for RESTful web service, web socket service, java script & java clients