Begin by making the stock in a large pot. Heat the oil. Add the reserved shrimp shells and cook over moderately high heat until they turn pink, about 4 minutes. Add the carrots, celery and one-third of the onions; season with salt and pepper and cook until tender, about 5 minutes.
Slowly add the brandy and cook until it has reduced to 1 tablespoon, about 2-3 minutes. Stir in the tomato paste and cook until the tomato paste coats the vegetables, about 2 minutes.
Now, add the peppercorns, tarragon sprigs, thyme, garlic, bay leaves and water and bring to a simmer. Cook until the shrimp broth has a nice rich flavor and has reduced down to 4 cups, about 35 minutes. Strain the shrimp broth into a large bowl and discard the solids.
Wipe out the stock pot. Add the butter and melt over moderate heat. Stir in the flour and cook, stirring, for 3 minutes. Add the remaining onions and the corn and cook until softened, about 5 minutes.
Slowly whisk in the reserved broth. Bring to a simmer and cook over moderately low heat for 15 minutes. Raise the heat to moderate. Add the shrimp and cook until white throughout, about 3 minutes.
Stir in the cream and season the soup with salt and pepper to taste. Serve in bowls, Garnish with flat leaf parsley.