add input handling (socket, buffer) for sending commands to the ftp server