Fix #33

Fixed issue where check_for_redirect function was raising a URLError
exception. If URLError is now raised it is ignored.