Merge pull request #4 from AS3NUI/master

Socket / Native implentations
Minor revision

+ Revised docs
+ Added constants for event handler
+ Inlined performance critical code
Updated README

+ Switched comments for isConnected()/frame()