add handleACKSize
add default listener case to amf_cmd conditional for debugging