set ecdhCurve in https opts