Making salt/netapi/rest_cherrypy/tools/websockets python3 compatible