Fix up/down message detection
Merge branch 'master' of https://github.com/pcmanus/ccm
Merge pull request #68 from driftx/master

Update up/down detection