Put some chocolate syrup on a plate. Twist the edge of the glass into the syrup coating the entire rim. Then sprinkle coconut onto the glass into the syrup. In a chilled cocktail shaker, combine all of the drink ingredients and then shake vigorously. Pour into the glass and then drizzle some caramel syrup on top of the cocktail and on the rim. Garnish with a cookie.