null check before entity encoding
null check before entity encoding

matiasgarciaisaia/node-sonos-discovery,jishi/node-sonos-discovery,neophob/node-sonos-discovery,cederigo/node-sonos-discovery,froggy666uk/node-sonos-discovery,ColdFireIce/node-sonos-discovery