Changes tls to only parse first certificate in the chain