Basic proxy setup. Needs some error handling