Server connection implementation