fixing https without local ssl certification

http://www.cocos2d-x.org/boards/6/topics/24946