Move some client code to ZeonClient.h
Add logic to work around a SERVER_REDIRECT