Check Internet availability and reading a remote JSON file using a iOS application.