chore(build): switch to xhr-polling since web socket are not supported on old webkit
chore(build): tweak nginx.conf