[RELOAD-134] Implemented safer socket connection in ReloadClient and updated corresponding protocol in the ReloadServer. This is still work in progress.