simple impl of futures, server support pending