Wrap ingredients in cheesecloth as for a sachet. Add to water and simmer for 30 minutes before adding shrimp.