Merge pull request #3 from db48x/use-ioresults

use std::io::IoResult instead of std::fmt::Result
Eq and Ord changed to PartialEq/PartialOrd
Merge branch 'master' into parse-some-headers
Eq and Ord changed to PartialEq/PartialOrd