Couple of minor bugs in IPC transport fixed
Couple of minor bugs in IPC transport fixed

Signed-off-by: Martin Sustrik <4dd6061be1198639e8b05ce4fd5ead7a0dcaa0f4@250bpm.com>

pakozm/nanomsg,nirs/nanomsg,cosin2008/nanomsg.NET,potatogim/nanomsg,cosin2008/nanomsg.NET,zerotacg/nanomsg,TTimo/nanomsg,gdamore/mamomsg,pch957/nanomsg,modulexcite/nanomsg,pch957/nanomsg,ttyangf/nanomsg,simplestbest/nanomsg,krafczyk/nanomsg,krafczyk/nanomsg,modulexcite/nanomsg,reqshark/nanomsg,zerotacg/nanomsg,kaostao/nanomsg,tempbottle/nanomsg,simplestbest/nanomsg,potatogim/nanomsg,hyperfact/nanomsg,smithed/nanomsg,simplestbest/nanomsg,JackDunaway/featherweight-nanomsg,ttyangf/nanomsg,reqshark/nanomsg,wirebirdlabs/featherweight-nanomsg,hyperfact/nanomsg,linearregression/nanomsg,snikulov/nanomsg,kaostao/nanomsg,gdamore/mamomsg,modulexcite/nanomsg,pch957/nanomsg,kaostao/nanomsg,linearregression/nanomsg,potatogim/nanomsg,kaostao/nanomsg,tempbottle/nanomsg,wirebirdlabs/featherweight-nanomsg,TTimo/nanomsg,tempbottle/nanomsg,yan97ao/nanomsg,JackDunaway/featherweight-nanomsg,wfxiang08/nanomsg,thisco-de/nanomsg,nirs/nanomsg,krafczyk/nanomsg,wirebirdlabs/featherweight-nanomsg,smithed/nanomsg,yan97ao/nanomsg,nirs/nanomsg,featherweight/ftw-kernel-nanomsg,featherweight/ftw-kernel-nanomsg,pakozm/nanomsg,TTimo/nanomsg,TTimo/nanomsg,imp/nanomsg,yan97ao/nanomsg,wfxiang08/nanomsg,imp/nanomsg,wfxiang08/nanomsg,JackDunaway/featherweight-nanomsg,smithed/nanomsg,cosin2008/nanomsg.NET,snikulov/nanomsg,ttyangf/nanomsg,gdamore/mamomsg,zerotacg/nanomsg,ttyangf/nanomsg,linearregression/nanomsg,thisco-de/nanomsg,pakozm/nanomsg,hyperfact/nanomsg,smithed/nanomsg,reqshark/nanomsg,imp/nanomsg