Replace WSGIServerException by socket.error for Django > 1.5
Merge pull request #22 from Atala/master

Replace WSGIServerException by socket.error for Django > 1.5