Revert "Removed websocket,chat, websocket.endpoint-singleton, websocket.httpsession"

This reverts commit eba0c1f8127f434fac54c846b8a3f52614d2b714.