Monkey patch message factory to add flowid