Midgard MVC should provide a centralized configuration parameter for setting stream context to allow easy addition of proxies http://www.php.net/manual/en/function.stream-context-set-default.php