Confirmed by [this comment](https://github.com/nodejs/node/issues/1592#issuecomment-251770788). We should probably refactor everything to again use the core API instead of our own implementation. See #509