Basic connection to the server