Add file transfer mode to NioSession and NioSessionProcessor.