initialize right mutex. use ssl if required
Merge pull request #17 from ranjib/lxc_fixes

initialize right mutex. use ssl if required