Returns an ES6-style promise implementation (if available).