added lastResponseObj to allow access headers, etc