mptcp: move common nospace-pattern to a helper