htable_insert() returns HT_REPLACED if key already existed