added license information and updated shebang in proxy.py