Integer promotion rules are fun!

Thanks gcc-on-casio for noticing.
Add some paranoid tolower()ing

MIT's DNS seems to like uppercasing MIT.EDU in weird places....