Initially populated with policy-specific code moved from AcceptToMemoryPool.
This should make no actual changes, just refactor code. If any change in behaviour is found, it is a bug in this pull request, please report it even if you think it’s a good idea.