refactoring length to timeout for https://github.com/pebble/libpebble-dev/pull/2
Merge pull request #4 from pebble/refactor-length-timeout

refactoring length to timeout