Convert calls to hping2/3 to an encapsulated class.