Added negociation of websocket resource