fixed hasOpenPorts() to work properly with multi-input boxes
added stage() method to Packet