Set APNS URL before using it in Client
Merging with latest iOS fix