utils: add PEM-encoded output for genPublicKey()
SSH2Stream: fix publickey blob and signature parsing