#316 setup proxy based on desired capabilities