Added fixes by digitaldan to make workaround for atmosphere long-polling requests problem. Now android app seems to work ok with them.