Added support to use https proxy for connecting to APNS service