Added packet handler function and probe request parser.