Inlining LeapSocketFrame for performance