move memory manage code(alloc, zalloc etc) to mc_alloc(.c/.h).
add (heap_curr) a metric for current heap memory usage.
add metrics for current hashtable size and connection buffer usage.