pub fn service<T, F>(service: &str, handler: F) -> Result<Service>where T: ServicePair, F: Fn(T::Request) -> Result<T::Response, String> + Send + Sync + 'static,