Move default socket dir from tmp to var

Also create default socket dir in install scripts