Add database connection support for unix sockets. Fixes #1.