Clean up accept header parsing