Don't bother I figured it out. Just add the proxy host and the proxy port parameter when instantiating the soapclient class. That is...
$client = new soapclient('http://api.google.com/GoogleSearch.wsdl', 'wsdl', $proxyhost, $proxyport, $proxyusername, $proxypassword);