Port to rust-0.7

body.as_bytes().to_owned() may not be optimal