[Transport] Fixed uncaught exceptions.

Not seen in the diff context, but below are an UnknownHostException and a ConnectException. Both of them are derived from System.Exception not from IOException.