Enable the master process to connect to the shared store

I wanted to use an instance of socket.io as a deaf sender (not listening, and able to send out to connected clients across all workers). I therefore wanted to share the store across the forks *and* the master itself. This fixes an error caused when the master attempts to obtain its ID as if it were a worker.