Fix error when running Ghost with a socket

fixes #2879
- Syncronously check/unlink old socket file


`httpServer` wasn’t assigned yet because of the aynchronous `fs.unlink`.