added unix domain socket support