Server validation

Check this if you want validate the server certificate