Added isGestureEnabled for Socket connections