qbread/qread behavior fixes

Things are a bit different with the changes to apipes. These
changes now ensure more correct behavior.

Ping completes, no more hangs, but ping is not happy with the data it's
getting.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>