auto-response-header: add FEATURE_ARH

add a compilation flag for disable auto-response-header
auto-response-header: free memory on quit

follow good practices: free the memory allocated before quit