Updated to follow redirects

When `browscap.url` in `config/agent.php` returns `301` or `302`, `agent.php` fails in downloading browscap file.

Signed-off-by: Hiroyuki Anai <pirosikick@gmail.com>