Add a callback for handling of POSIX-type errors which set errno, and call it instead of perror. Remove the Swift API version, since this is included in the Swift 'base' URL from Keystone.