#396 Put does not longer set id for non existing connnection since id should be created by autoincrement
#396 Added basic mapping for invalid arguments to client execeptions (should be improved by using better exceptions and also a prevented by validation)