Fix Accept header parsing