Fix handling socket errors.
Bump version.