Embedding network status check on HttpRequestHelper. Some code cleaning.