Refactoring: separate steps of network requests
Refactoring: separate steps of network requests

This is needed to implement #583.

brok85/cgeo,yummy222/cgeo,madankb/cgeo,S-Bartfast/cgeo,schwabe/cgeo,xiaoyanit/cgeo,cgeo/cgeo,schwabe/cgeo,schwabe/cgeo,lewurm/cgeo,kumy/cgeo,brok85/cgeo,yummy222/cgeo,tobiasge/cgeo,KublaikhanGeek/cgeo,pstorch/cgeo,auricgoldfinger/cgeo,matej116/cgeo,mucek4/cgeo,vishwakulkarni/cgeo,tobiasge/cgeo,Huertix/cgeo,pstorch/cgeo,samueltardieu/cgeo,SammysHP/cgeo,lewurm/cgeo,KublaikhanGeek/cgeo,Bananeweizen/cgeo,superspindel/cgeo,ThibaultR/cgeo,samueltardieu/cgeo,ThibaultR/cgeo,KublaikhanGeek/cgeo,matej116/cgeo,brok85/cgeo,Huertix/cgeo,superspindel/cgeo,cgeo/cgeo,pstorch/cgeo,kumy/cgeo,S-Bartfast/cgeo,schwabe/cgeo,mucek4/cgeo,cgeo/cgeo,mucek4/cgeo,superspindel/cgeo,S-Bartfast/cgeo,SammysHP/cgeo,cgeo/cgeo,marco-dev/c-geo-opensource,xiaoyanit/cgeo,xiaoyanit/cgeo,matej116/cgeo,tobiasge/cgeo,madankb/cgeo,madankb/cgeo,auricgoldfinger/cgeo,samueltardieu/cgeo,rsudev/c-geo-opensource,rsudev/c-geo-opensource,SammysHP/cgeo,vishwakulkarni/cgeo,marco-dev/c-geo-opensource,Bananeweizen/cgeo,ThibaultR/cgeo,lewurm/cgeo,rsudev/c-geo-opensource,auricgoldfinger/cgeo,kumy/cgeo,yummy222/cgeo,Bananeweizen/cgeo,marco-dev/c-geo-opensource,vishwakulkarni/cgeo,Huertix/cgeo