diff --git a/Network/HTTP/Conduit/Downloader.hs b/Network/HTTP/Conduit/Downloader.hs
--- a/Network/HTTP/Conduit/Downloader.hs
+++ b/Network/HTTP/Conduit/Downloader.hs
@@ -56,8 +56,8 @@
 module Network.HTTP.Conduit.Downloader
     ( -- * Download operations
       urlGetContents, urlGetContentsPost
-    , download, post, downloadG
-    , DownloadResult(..), DownloadOptions
+    , download, post, downloadG, rawDownload
+    , DownloadResult(..), RawDownloadResult(..), DownloadOptions
 
       -- * Downloader
     , DownloaderSettings(..)
@@ -455,6 +455,7 @@
     C.InvalidChunkHeaders -> DRError "Invalid chunk headers"
     C.TlsNotSupported -> DRError "TLS not supported"
     C.IncompleteHeaders -> DRError "Incomplete headers"
+    C.InvalidProxyEnvironmentVariable n v -> DRError $ "Invalid proxy environment variable " ++ show n ++ "=" ++ show v
 
 bufSize :: Int
 bufSize = 32 * 1024 - overhead -- Copied from Data.ByteString.Lazy.
diff --git a/http-conduit-downloader.cabal b/http-conduit-downloader.cabal
--- a/http-conduit-downloader.cabal
+++ b/http-conduit-downloader.cabal
@@ -1,6 +1,6 @@
 cabal-version:  >= 1.6
 name:           http-conduit-downloader
-version:        1.0.23
+version:        1.0.24
 author:         Vladimir Shabanov <vshabanoff@gmail.com>
 maintainer:     Vladimir Shabanov <vshabanoff@gmail.com>
 homepage:       https://github.com/bazqux/http-conduit-downloader
@@ -39,20 +39,11 @@
     type:     git
     location: https://github.com/bazqux/http-conduit-downloader
 
-flag network-uri
-    description: Get Network.URI from the network-uri package
-    default: True
-
 library
     build-depends:
-        base == 4.*, http-conduit >= 2.1.2.3, http-client >= 0.3.4, connection, zlib, lifted-base,
+        base == 4.*, http-conduit >= 2.1.5, http-client >= 0.4.7, connection, zlib, lifted-base,
         conduit, resourcet, http-types, data-default, bytestring, mtl,
-        time, old-locale, HsOpenSSL
-
-    if flag(network-uri)
-        build-depends: network-uri >= 2.6, network >= 2.6
-    else
-        build-depends: network-uri < 2.6, network < 2.6
+        time, old-locale, HsOpenSSL, network-uri >= 2.6, network >= 2.6
 
     exposed-modules:
         Network.HTTP.Conduit.Downloader
