Updated unixSocket argument to be optional