Test server ignores socket errors caused by client

This should fix the random "Broken Pipe" errors during tests. These
errors occur when the client (a webdriver-managed browser in our
tests) closes the socket connection when the server (out python test
server) is still sending data.
Merge pull request #62 from alphagov/fix-random-broken-pipe

Test server ignores socket errors caused by client