gpaste-client: track connection errors

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>