- Added url encoding to the user agent.
- Fixed response length.