Make client id cnfigurable. Fixes #1