How to use socket.io in cocos2d-x native?

I already checked the socket.io c++ implementation, which need boost library. How to do that? Even I can use the boost library successfully in cocos2d-x, it will be very huge for a mobile app.

Is there any better solution?

Thanks