Merge pull request #2050 from douglaz/import-lightning-io-futures