[1083] Fix sporadic unhandled exceptions by correctly handling httplib.BadStatusLine (using httplib.HttpException, the superclass)