X509 reader and writer.

WWW: http://github.com/vincenthz/hs-certificate
