Update examples/localhost.php with new packet::add\*() methods.