Follow-up to r8080, which broke Python 2.3 support.
In Python 2.3 on Windows (and apparently also on the Darwin 9.6.0 platform used for the buildbot), the file objects associated to the handler's connection socket can't be queried for their "closed" status, as they always returns "True").