Server: prepare worker loop

Signed-off-by: Eduardo Silva <eduardo@monkey.io>