Fix ec calibration crash
ssl key and connection fixes
Fixed build