IQ callback function for error cases

When I create an IQ message that the server responds with error (e.g., 503), XMPPConnection.handleIQ throws a XIFFErrorEvent. It would be more useful if the callback function would be called (similar to success). I have made trivial changes to accommodate this. Any intention to adding this feature? Thanks. Jozsef