Used the builtin send_redirect method in Msf::Exploit::Remote::HttpServer instead of creating a redirect inline