static fns to parse poker messages