Implemented proxy settings (the hard way).