Merge pull request #3497 from dumganhar/develop

Adding WebsocketTest and SocketIOTest for Mac and adding test for issue http://www.cocos2d-x.org/issues/2401
Minor fix of 'Color4F(const Color3B& color3B)'. r(color3B.r) --> r(color3B.r/255.0f)