frontend: Connection-specific functions now use the sdb_conn_ prefix. … instead of sdb_fe_.
frontend: Add support for TCP connections. This is the new default listener type (unless the listen address starts with a slash in which case a UNIXSOCK connection is used). This does not support any kind of peer lookup yet. Instead, it'll fully trust the client for now and accept any username. In the future, this will be configurable and multiple mechanisms (e.g. ident, SSL cert) will be supported.
frontend: Get the username of the remote peer from a UNIX socket. Then, only allow that user to authenticate against the daemon. That is, use the same as PostgreSQL's "peer" authentication for all connections.
Renamed CONNECTION_* constants to SDB_CONNECTION_*. All public symbols should use the "sdb" prefix.
frontend: Guarantee that no async messages are sent before startup finished.
Include config.h in source files. Else, we don't get any definitions required for enforcing standard compliance.
frontend/session: Store authenticated user information. Also, for now, reject access in case no username is provided.
Renamed sdb_session_start() to sdb_fe_session_start().
frontend: Moved all connection handling operations into connection.c. connection_obj_t was merged into sdb_conn_t which now inherits from sdb_object_t. The connection object is now private to the library and defined in the new header file connection-private.h.
frontend: Handle STARTUP and PING commands. Implemented an initial, trivial "framework" for session handling / authentication. Simply send back OK status for now. Fixed preconditions for initialization and handling of commands.