Support for network-2.6

Following @23Skidoo's [comment](https://github.com/haskell/cabal/pull/2243#issuecomment-64883523).