transport-helper: remove unnecessary strbuf resets