Fix to prevent rejection of SSL connections