Validate URIs before making requests, only catch SocketErrors.

This at least makes sure we do not mask errors (see #117).