Added header option for validating ssl