implementing client side diagnostic and monitoring of server status