Nightly breaks

This fixes the nightly breaks. Specifically:

- cast must take an explicit type.
- the boxxed ResponseWriter must be dereferenced to take an &mut.
- remedies the warnings for the deprecated `to_str_radix` with `fmt::radix`.