Add comments to sockets hook, refactor troubleshooting message a bit.