Made client-server connection base.