Merge pull request #50 from mavenugo/master

Fixes #47 with ecc offline caching support
Fixes #45

Signed-off-by: Madhu Venugopal <madhu@socketplane.io>