Fix mysql check, add html-entity decoding, harden httpget