fix mangled connection info, fixes #16