Merge pull request #139 from Ogeon/master

Add serve_once method to Server
Fix build on Windows

Windows doesn't like the `./` prefix, so it needs an explicit `sh file.sh` command.
Merge pull request #141 from cybergeek94/patch-1

Fix build on Windows
Fix trait object use with DST

See rust-lang/rust#17322.
Merge pull request #143 from kmcallister/trait-object

Fix trait object use with DST
fixes #144 codegen duplicate definition of Status
fix deprecations
Merge pull request #145 from globin/master

Codegen: Duplicate definition of Status
Fix OpenSSL error when using HTTPS

There was an SSL handshake failure that occured when attempting to perform an HTTP request to certain https addresses.
Change _host parameter to host in connect
Merge pull request #147 from jroesch/ssl_handshake_failure

Fix OpenSSL error when using HTTPS
Change ranges from A..B to A...B
Merge pull request #148 from renato-zannon/master

Fix compilation under rust nightly
Remove deprecated use of String::push_char
Remove deprecated use of Vec::from_slice
Remove deprecated use of MutableSlice::copy_memory
Remove deprecated use of Option::get_mut_ref
Merge pull request #150 from ljrmorgan/fix_deprecation_warnings

Fix deprecation warnings
Use the new slicing syntax instead of method calls

This involved these transformations:

    .as_slice() => []
    .as_mut_slice() => [mut]
    .slice_from(from) => [from..]
    .slice_to(to) => [..to]
    .slice_from(from).slice_to(len) => [from..from + len]
    .slice(from, to) => [from..to]

The end result is briefer and arguably nicer, with no semantic change.
Add necessary #![feature(slicing_syntax)].