add basic implementation of chat using long-polling over nginx