I learned a lot about SFTP, SSH and had fun implementing a minimal (and terrible) SSH server. The purpose of the experiment is met, time to bury the project.
A small & experimental SFTP server, with (soon™) port forwarding. Currently, interactive shell is supported, but it works very badly (e.g. PTY support is completely broken).