Patch for SSL ctx