Every person not duly licensed thereto, who shall pilot or offer to pilot any vessel into, within or out of the waters of Juan de Fuca Strait or Puget Sound, shall be guilty of a misdemeanor: PROVIDED, That nothing herein shall prohibit a master of a vessel acting as his or her own pilot, nor compel a master or owner of any vessel to take out a pilot license for that purpose.