Maid 278 fix

Adds return codes to response content types so that timeouts and timer cancellations are set as exceptions on promises when they occur. Some timeouts have been increased to allow the tests to pass and probably require review, although as previously a timeout doesn't alter whether a chunk gets stored or not, only it's handling is affected.