bug fix: get return headers from dict returned by http_curl. return_head...

...ers array never exists in this context