Circumvent exception when parsing proxy port

Use Ints.tryParse instead of Integer.parseInt since we don't want to do
Exception handling at this point. If there's no port, there are no valid
proxy settings as a consequence. That's it.