added basic websockets template code