Adjust for non-generic SwiftSockets (hangs Swift runtime)