websocket support added
fixed presence on websocket connections