Fixed a typo in test
Support for longer payloads in iOS8 for testing.
Tidied up tests.
Refactored the credential loading code into a separate method.
Improvements to the clarity of the sample code.
Fixes for EPIPE error
setImmediate function

New function to call setImmediate, if available, or fallback to process.nextTick.
Raise error on next loop

When an error is emitted with no listeners attached an exception is thrown. In this case the exception would be swallowed by "q". Instead raise and emit the errors on the next run-loop to ensure the exception is propagated when necessary.
Merge branch 'hotfix/152-retry-backoff' into develop