The order in Ghost-writer's socket routine is oddly coded. I have never seen a socket check under the sock open event. There are strings of code to be redundant as well. If you want to be inventive, be sure you make sense.
Teen is right on the link you fetch for this socket... I have never heard or seen such site called "heart.mooo.com"