Clean up cabal file

This includes setting the lower bounds for dependencies.
Add documentation

This commit also includes:

 - Code rearrangement.
 - Add lifted version of `recv`.
 - Export `close`.
Add inline pragmas
Precise git location
Proper linking to `network-simple`