We don't want a bare except, this should be ``except ValueError:``. However I don't think we want things that aren't numbers to fallback to zero.

If the intention was that stuff like ``port = http`` should work and automatically be resolved we should be using ``socket.getservbyname(value, 'tcp')`` in the fallback and if it fails we raise a value error so that our config error handling catches it.