Merge pull request #103 from sjardine/master

Added missing method setMaxReconnectOnClose.
Added getReasonPhrase method.  This allows for us to determine the
reason we are receiving an onError event.