Added support for UNIX domain sockets
Added some info about performance impact
Moved code around a bit