Changes to allow rust-http to build on latest rust compiler