Preparing the Client to connect to the server

Wish me luck :(