Merge pull request #7695 from kballard/urlerror_enum

[swift-3.1-branch][SDK] Turn URLError.Code back into an enum