Check if connected to Pusher and the socket is open
ARC iOS 6 compatibility
Merge branch 'pull_requests/arc_ios6' of https://github.com/fillito/libPusher