Added a Test with disabled exceptions, but a request.error listener at the client.
Fixed array access error on request.error listener closure

When using a request.error listener in the client, a array access error was triggered.
Merge pull request #386 from h4cc/patch-1

Array access error on request.error listener.