Fix x509 module usage to new parse-x509