add a network debug script and document it
As discussed on slack this PR adds a new network debug script to uncover DDP issues and documents it.

@sgugger 
_The documentation is not available anymore as the PR was closed or merged._