Socket connection limit tests and tools for fixing ephemeral ports.