[doc] Remove unneded link tag
[fix] Add check to avoid dereference of null pointer
[fix] Add check to avoid null ptr dereference
[fix] If lookup of host failed, return no matter what an evil mind has done