implement standard new_handler callback
fix bit_and with boolean &&
use new_handler callback to report allocation fail