Added socket timeout of 30s to irclib.
Changed bot loop to trigger socket timeouts.
Made __main__ try to restart bot every 5s when failing.
Merge pull request #1 from jawsper/master

Merge changes from upstream.