improve logging, adjust ECDHE