Addition of a 'from_hosts' flag to ub_result

Hello,

In ub_resolve it is interesting to know whether a host was resolved through the hosts files or through DNS so you can decide not to accept the resolve when it was not secure AND not resolved by the hosts file.