lib-http: Minor fix/cleanup to detecting stream errors when skipping payload.
lib-http: Minor fix/cleanup to detecting stream errors when skipping payload.

jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot