client communicates with the real server