Diagnosis and therapeutic management of primary headache in an emergency setting