Swansea City came from behind to secure a 1-1 draw with Stoke in testing conditions at the Britannia Stadium.