cleandly handle HEAD and no more length responses