Fix errors when passing :data option to send_packet_out (refs #52).