Add Foldable and Traversable instances
Rename Connection to InputStream