Design #13559: ziwphip-api: allow proxy setting only for NingApiConnectionFactory

fix unit tests