Added CaptureSubnet class for doCapture method to collect all frames sent or received by the subnet.