also providing python3 compatibility for urlopen in liveserver.py