Changed ssl to negotiate with device