Made fixes for mono.
- Disable performance counters if running on mono.
- Use DefaultProtectedData if running on mono.
Don't set client certificates on mono since it's not supported.