client: Added url field to Response class

This implements #320 and a part of #232. The redirection URL behavior can be implemented in a later step.