Refactored the method that returns the HTTP Stack used in Volley