update to new pyptlib API

Updates sshproxy to use the new API in pyptlib 0.0.4.