How platform-specific socket constants broke my Redis connection, and why minimal reproduction tests are debugging gold