removing hardcoded dns
check for no connection

making things easier to read

forcing uint8_t
Merge #593 r=@jiahuang: remove hardcoded dns

goes with https://github.com/tessel/firmware/pull/101

Changes DNS from 8.8.8.8 to whatever Tessel picks up. 

On PC colony it still defaults to 8.8.8.8.