Add in extra safeguards to protect against buffer leaks
Fix tests to report buffer leaks and clean up properly
Prepare debug buffer pool for implementing AutoCloseable (required by XNIO 3.3)