Beckham formally handed Miami MLS franchise