Improvements to connection checking/reconnecting
Merge pull request #1021 from sumnerboy12/xbmc-socket-issue

Improvements to connection checking/reconnecting for XBMC