Added isValidEmailAddress
change content type check to check the beginning of a string, in case the server sends down the charset along with it