quicktest support for masked IP addrs

one subtlety is that m_mask = None is equivalent to m_mask = Some 0
so change how Match.marshal works to make quicktest happy about this