Add a const for max nmap confidence

Also fixes an encoding error in host spec for ruby 2.x