working on longpoll rewrite and custom transports etc