How to require client SSL certificate, except for local connections