Add the server part, based on KrakenJS.