Show the distribution port as a "protocol" in management.
Add listeners to rabbitmqctl status.
Slightly simpler, and more polite.
Improved diagnostics.
Try to be a bit less verbose.
Since we always show the raw error and the expanded error let's get format_inet_error to do that.
Various formatting tweaks.
Just in case the error is not an atom.
Set the distribution port range to the first of these that matches:

* Not at all if it's mentioned in the config file
* $DIST_PORT if that's mentioned in the env file
* $RABBITMQ_DIST_PORT if that is set
* $RABBITMQ_NODE_PORT + 20000 if that is set
* 25672 in all other cases
Don't suggest using the kernel params here.
Slightly cleaner than iterating through families.
Irritatingly I can't find a way to figure out the difference between these programmatically.
That should probably be a define, right?
Display diagnostics when rabbitmqctl clustering options fail due to nodedown.
Present epmd errors a bit better.
Try to be marginally smarter about getting the epmd port, it is set as an init argument from the environment variable.
Somehow that actually worked on OS X. Oops.
Cosmetic
Check if dist port is available since otherwise we will create a horrific error message. Also refactor a touch.
Move dist arg to the end so that if the user has set it in RABBITMQ_SERVER_START_ARGS then we take their version not ours.