Learning to use HTTP connections from Haskell