adding python3 urlopen compatibility and livestatus command test