Improve meta http-equiv="refresh" redirect

Only do redirect if seconds < 10
Redirect url can be relative, use urlparse.urljoin