marcelog/Nami — pull request #9 by rooftopsparrow (2013-02-05 22:28:46+00:00)
Title: Add events for socket connection

The underlying socket that Nami uses sometimes goes stale (timeout, error, etc).

This commit exposes those events to the user using namiConnection and namiConnection(EventName). Also included is the ability to reopen the connection
without destroying the listeners the instance already has.

I am still new at creating these pull requests, so thanks for your patience @marcelog.