Bug 956315 - JSBridge server cannot be started after a restart of Firefox because socket is still in use. r=dhunt

(cherry picked from commit c82d2d2948ee957e1cc516e1407c92594b4e5283)