Add debugging for server responses