moved to socketio provider instead of service to allow config of endpoint