1.0.1dev: Correctly handle `socket.error` which has no attribute `strerror` on Python 2.5
1.0.1dev: Correctly handle `socket.error` which has no attribute `strerror` on Python 2.5

Closes #10954.


git-svn-id: 50cd48c816abc7a9f40e8e03a4277466cb30a3e4@11471 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac