lib-http: Don't crash if payload stream is referenced by caller after its connection is freed.
lib-http: Don't crash if payload stream is referenced by caller after its connection is freed.

dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot