Added support for proxies and global locations

Everything should now be fixed. If there are any further required modifications, please let me know! 

Would it also be possible to drop me an email on ov109@ic.ac.uk with your contact details? Our team is quite keen to know what direction ice will be taking, and if we can help you by contributing to the codebase.

Thanks!