Add sendWithFuture to BasicSession