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.