Addeed fixes for connecting to BSD Unix sockets.