Merge pull request #8 from petercv/master

iOS implementation of v2 of the Msgs.IO api.
Bug fixes plus minor improvements