This is incorrect, the packet_handler is expecting sock_addr, orig_packet instead of just data.
No clue why this exception isn't shown anywhere.