Made client communication based on public instead of symmetric keys.