- Simplified the normalization process for socket.io URLs by removing unnecessary production checks. - Enhanced comments for better understanding of URL handling, particularly regarding environment variables and port management. - Maintained fallback mechanisms for URL parsing failures to ensure consistent behavior across environments.