nsqd: protocol_v2 add index check for reader command slice

* add a length check to prevent 'index out of range' panic when nsqd
  receives a malformed command ("\n"), leaving len()-1 out of bounds.