Added status 301/302 and domain validation within redirection. Cloeses #1