added transport to HTTPResponse constructor, so close() can close transport