Version 0.05; fixing regression with closed connections; fixes compatibility with Python 3; tweak demo script;