headers function in http promise callbacks: passing no name arg returns entire headers object.