Added a client-side script for handling most of the simple
websocketservices so that a user can just define his or her templates
and/or callback functions.