Use Map.fromSet from containers-0.5.
Add Source-Repository to the Cabal file.

Cabal version requirement changed to 1.6.
Switch from bencode to AttoBencode for better performance.

Performance is doubled at the cost of a little memory.
Add a Setup.hs.
Add version bounds to base.
Add a category for the package.
Change a do-block.