Close socket.
strlist bugfixes and tests.
Enable source file to be a relative path in files copy_from promises.
already existing commit
IsDir2().
Fixed documentation, added TODO.
Introduce realpath() alternative for windows.

Define PATH_MAX using windows' _MAX_PATH if available. Comment a bit
about the awfulness of realpath().
Changed "BAD:" to "BAD: "...

...makes it a bit harder to hit this message in random data and does not
break anything.

Also barely touched, and commented on newly introduced threading
issues. At some point the global connection cache was changed to a
different data structure, and concurrency issues were introduced: With
the old one (RList) we inserted new elements just by pointing them to
the existing list, so the existing list was never touched. Now with Seq
the list is in danger of being modified while being accessed. We must
revisit our global connection cache.
changed couple of regex to more readable, without octal codes.
Multi-tenancy works. TODO backwards compatibility, mostly 'admit' parsing.