Changed server to comply with deprecation warnings from most recent nightly build of rust.