Add module hooks for raw client and server messages