Python3 Support on listen.py