Project: mesos
Issue MESOS-5111: Update `network::connect` to use the typed error state of `Try`.
{{network::connect}} function returns a {{Try}} currently and the caller is required to inspect the state of {{errno}} out-of-band. {{network::connect}} should really return something like a {{Try}}.
Story points: 2