Added public key authentication support

Small change which adds support for public key based login for stub sftp servers.

Tested with 'sftp -i <key_filename>' from the OpenSSH_5.9p1 dist (comes with ubuntu)