Fixed additional edge case with trailing space after space. More sophisticated parsing of PONG response.