Small refactoring in remote.cc
Small refactoring in remote.cc

rstacruz/kakoune,zakgreant/kakoune,alexherbo2/kakoune,alpha123/kakoune,casimir/kakoune,lenormf/kakoune,flavius/kakoune,elegios/kakoune,flavius/kakoune,jkonecny12/kakoune,mawww/kakoune,danielma/kakoune,zakgreant/kakoune,xificurC/kakoune,Somasis/kakoune,Asenar/kakoune,Asenar/kakoune,Somasis/kakoune,Asenar/kakoune,alexherbo2/kakoune,alpha123/kakoune,occivink/kakoune,lenormf/kakoune,lenormf/kakoune,rstacruz/kakoune,mawww/kakoune,rstacruz/kakoune,danr/kakoune,casimir/kakoune,jjthrash/kakoune,ekie/kakoune,elegios/kakoune,danr/kakoune,Somasis/kakoune,occivink/kakoune,alpha123/kakoune,xificurC/kakoune,jjthrash/kakoune,jjthrash/kakoune,casimir/kakoune,elegios/kakoune,zakgreant/kakoune,danr/kakoune,danielma/kakoune,jkonecny12/kakoune,xificurC/kakoune,occivink/kakoune,Asenar/kakoune,jkonecny12/kakoune,elegios/kakoune,alexherbo2/kakoune,lenormf/kakoune,alpha123/kakoune,alexherbo2/kakoune,xificurC/kakoune,flavius/kakoune,Somasis/kakoune,mawww/kakoune,flavius/kakoune,casimir/kakoune,rstacruz/kakoune,jjthrash/kakoune,danr/kakoune,occivink/kakoune,ekie/kakoune,danielma/kakoune,ekie/kakoune,zakgreant/kakoune,mawww/kakoune,danielma/kakoune,ekie/kakoune,jkonecny12/kakoune