Before revoking or suspending any license, the Labor Commissioner shall afford the holder of such license an opportunity to be heard in person or by counsel. The proceedings shall be conducted in accordance with Chapter 5 (commencing at Section 11500) of Part 1 of Division 3 of Title 2 of the Government Code, and the commissioner shall have all the powers granted therein.