network: Packet API extension, allowing creating of packet from string (for python bindings)