Got connection to server working.