use Network.Browser.browse to handle redirects
use Control.Exception instead of System.IO.Error for try
Merge pull request #4 from proger/master

implemented support for HTTP redirects using Network.Browser