pub fn create_http_object<T: ?Sized + HttpInterface>(
    x: Arc<T>
) -> Arc<dyn HttpInterface>