SlapPopen: Improve logging and fix stderr and timeouts
Use select to capture stdout and/or stderr in the same current thread (by multiplexing the reads) and respect timeouts.
Use select to capture stdout and/or stderr in the same current thread (by multiplexing the reads) and respect timeouts.