diff --git a/DAV.cabal b/DAV.cabal
--- a/DAV.cabal
+++ b/DAV.cabal
@@ -1,5 +1,5 @@
 name:                DAV
-version:             1.3.3
+version:             1.3.4
 synopsis:            RFC 4918 WebDAV support
 description:
    This is a library for the Web Distributed Authoring and Versioning
@@ -15,16 +15,12 @@
 license-file:        LICENSE
 author:              Clint Adams
 maintainer:          clint@debian.org
-copyright:           Copyright (C) 2012-2018  Clint Adams
+copyright:           Copyright (C) 2012-2020  Clint Adams
 category:            Web
 build-type:          Simple
 cabal-version:       >=1.8
 extra-source-files:  AUTHORS
 
-flag network-uri
-  description: Get Network.URI from the network-uri package
-  default: True
-
 flag mtl-compat
   description: Get Control.Monad.Except from the mtl-compat package
   default: False
@@ -69,6 +65,8 @@
                      , http-client-tls >= 0.2
                      , http-types >= 0.7
                      , lens >= 3.0
+                     , network >= 2.6.10
+                     , network-uri >= 2.6
                      , optparse-applicative >= 0.10.0
                      , transformers >= 0.3
                      , transformers-base
@@ -80,10 +78,6 @@
     build-depends: mtl >= 2.1 && < 2.2.1, mtl-compat
   else
     build-depends: mtl >= 2.2.1
-  if flag(network-uri)
-    build-depends: network-uri >= 2.6, network >= 2.6
-  else
-    build-depends: network >= 2.3 && <2.6
 
 source-repository head
   type:     git
@@ -93,4 +87,4 @@
 source-repository this
   type:     git
   location: https://salsa.debian.org/clint/DAV.git
-  tag:      DAV/1.3.3
+  tag:      DAV/1.3.4
diff --git a/hdav.hs b/hdav.hs
--- a/hdav.hs
+++ b/hdav.hs
@@ -1,5 +1,5 @@
 -- hdav.hs: WebDAV client
--- Copyright © 2012-2016  Clint Adams
+-- Copyright © 2012-2020  Clint Adams
 --
 -- vim: softtabstop=4:shiftwidth=4:expandtab
 --
@@ -32,7 +32,7 @@
 import Data.Version (showVersion)
 import Data.Monoid ((<>))
 
-import Network (withSocketsDo)
+import Network.Socket (withSocketsDo)
 import Network.URI (normalizePathSegments)
 
 import Network.Protocol.HTTP.DAV (DAVT, evalDAVT, setCreds, setDepth, setUserAgent, getPropsM, getContentM, putContentM, putPropsM, delContentM, moveContentM, mkCol, Depth(..), caldavReportM, withLockIfPossible, withLockIfPossibleForDelete)
