Update redir.rb to fill the new framework

Signed-off-by: Connor Yan <126ium@gmail.com>
Fix the syntax error in ssl_check.rb

Signed-off-by: Connor Yan <126ium@gmail.com>