Improve urlencoded header detection regex