Ported to Python 3 (backward compatible with Python 2)
Better reconnection phase, python3 compatible
Added source files