changed certificate to base64 certificate
 - added lots of certificate as bundle
 - deepsea self signed certificate is included
update to use certificate authority bundle and verify SSL
 - extract format response header