Very minimal -- basically copying the header sections from HaskellNet so
that it's easy to see where the function would belong were it part of
HaskellNet itself.
Hackage is reporting a build failure relating to cryptocipher, a library
which is no longer required with newer versions of tls/tls-extra.
Explicitly setting these library dependencies to the version I have
installed locally in order to try and resolve the build failure.