fixed ResponseServer

while loop with correct condition (checks for empty string)