http: write buffers when chunked to embrace writev
test: fix timing sensitive tests