Updated with jetty lib and added websocket connection