KAZOO-1864: add specs, use get_first_defined/2
KAZOO-1864: parse out Diversion headers, if any