Resolved another connection-related error.

0.005004 - 2014-06-12
    - Updated POD to include the new is_connected() method.
    - Added socket error detection and disconnection logic into the die_on_* methods, and updated calls to those functions accordingly.
I forgot this one a while ago