fix update logic in socket handler
fix update logic in socket handler

dommert/meshblu,atyenoria/meshblu,masato/meshblu-dev,ChemTics/meshblu,masato/meshblu,masato/meshblu-dev,masato/meshblu,octoblu/meshblu,atyenoria/meshblu,masato/meshblu,ChemTics/meshblu,ChemTics/meshblu,Qbitus/meshblu,jaambee/meshblu,dommert/meshblu,Qbitus/meshblu,osokay/IotServerCore,jaambee/meshblu,osokay/IotServerCore,Qbitus/meshblu,jaambee/meshblu,osokay/IotServerCore,masato/meshblu-dev,atyenoria/meshblu,octoblu/meshblu,dommert/meshblu