Add hostedpci gateway

Please ensure all debugging code is stripped out.