Rewrite packet listeners