fixed header bug; additional bugs found in startResponseHandler method

Response header had to be changed to account for `POST` requests. 

Mocha test cases were updated to account for asynchronous calls to the API. 

Tests are currently failing and further investigation needs to take place within the `startResponseHandler` method, as errors are encountered when `JSON.parse(response)` fires.