httpResponse: make sure headers is a list. Fixes #102