client send environment to server