Small improvements to help with error handling
Small improvements to help with error handling

* Match signature of onDisconnect and onError to StompClient
* Add option onClose callback to connect, propagated to connector

Adding support for passing in an onClose handler was the only way I was able to receive a notification that an initial connect failed when the server was down.

tomikiss/stomp_sockjs,tomikiss/stomp_sockjs