Use ToArrayInterface type check when accessing response headers
Merge pull request #347 from craigmarvelley/toarrayinterface-typehint

Use ToArrayInterface type check when accessing response headers