pki: Fix a memory leak.

CID #1132819
tests: Fix memory leaks.
tests: Try to fix torture_forward.
channels: Add a ssh_channel_read_timeout function.
session: Add ssh_get_clientbanner().