Properly setup sync/longpoll module