Revert changes to async_nif and re-enable stats.  Fixed selective recv.