Added some work on getting the proxy setup

not sure if it is correct or not