create directory holding socket if it doesn't exist
default to tmp directory relative to backend directory