tls: Add publicKey to certificate information
Added a publicKey
attribute to peer certificate information. The
attribute contains the DER-encoded value of the public key as a buffer.
This will allow applications to retrieve the necessary information for
validating HTTP public key pins according to RFC 7469.