agent: Fixing incorrect protocol parsing on -config-dir. Fixes #129
CHANGELOG updates