http: use writev on chunked encoding

Now will process all write() that were done on a single tick in a single
writev().