Implement transparent HEAD support

and don't close on HEAD request when sending CloseDelimited
Can we give that a name and put it into a util class that contains all stuff that needs to be fixed in streams? Otherwise, we'll probably forget about it sooner or later.