Basic server implementation.
Only message exchange for now.