Backport missing unix domain socket bug fix (bug 1311044)
While testing the fix for legacy/trac#20111 (moved) we encountered another bug in Firefox' unix domain socket support. This got fixed in bug 1311044 (https://hg.mozilla.org/mozilla-central/rev/df49275ec24c) and we should backport that one.