Hurricane Joaquin strengthens to Category 4