added proxy activate and a lot of code clean up. totatly untested
added missing transport id