Revert "Allow local connections for daemon and messaging services from all network devices (#644)"This causes a significant (~10 second) delay connecting to the Daemon.We'll have to solve this another way.This reverts commit df26a299e3182b330d0f4e33074e13436a4f4b59.
Allow local connections for daemon and messaging services from all network devices (#644)This fixes common issue on FreeBSD jails when loopback interfaceprovides no IP addresses due to security reasons.GRADLE-3121
Replace usage of `String#format` with good old string concatenationThe rationale behind this change is that while `String#format` is usually admitted as good for readability (this is arguable),in practice it is very bad for performance. Since Java 6, the JVM (the JIT, to be correct) does a pretty good job at optimizingstring concatenation. However, it is only capable to do so if we're using "dirty" string concatenations (using `+`), or `StringBuilder`.However, usage of `StringBuilder` is not recommended either for 2 reasons:1. it significantly decreases code readability2. in Java 9, String concatenation is even more optimized thanks to `invokedynamic`, and code using `StringBuilder` will *not* benefitfrom this optimization.There are sill leftover `String#format` calls in the code, in the following cases:- the call is used to generate an exception message. That's 90% of the remaining calls.- the call is obviously a debug message, often used in `toString` (because as we all know, `toString` should only be used for debugging)- the format includes specific number formatting patterns- I missed it