Ignore packets with null content. Fix #296.