The encoding and timeout slots of the threaded server can be set to an encoding descriptor or a duration, respectively. See I/O encodings and I/O timeout protocol for details.