In a large bowl, combine the garlic, lemongrass, ginger, lime rind and juice, 1 tablespoon of the peanut oil, the fish sauce, and habanero. Add the shrimp and toss gently. Refrigerate for 30 minutes.
In a wok or large skillet, heat the remaining 2 tablespoons peanut oil over medium heat. When it is hot, add the shrimp and cook, stirring often, for 4 minutes.
Add the stock and coconut milk. Simmer for 3 minutes. Add the peas and cook 2 minutes more. Taste for seasoning and add more lime juice or fish sauce, if you like.
Add the spring onions. Ladle over jasmine rice and sprinkle with fresh cilantro.