fixes missing $pkt arg
adds batch_basic_publish
Merge branch 'master' into perf_opt_2