Added client address detection.