Fixes to abstraction of FTP listener