Some client work, still issues handling some of server's reponses.