Removing unneeded assert
Changing the API for lastseen DB

Changing the signature of two methods from arrays to pointers.
Fixing issues after integration

Even this is a half cooked implementation, there were some issues
that were not detected on time:
- The accept call in the server loop was removed with the intention
of moving it, but never added back.
- There was a dangling pointer causing strange issues.
Fixing a memory leak

We need to destroy the ConnectionInfo structure in those cases
where we haven't created the ServerConnectionState structure yet.
Merge pull request #1135 from cduclos/call-collect-agent

Call collect agent