Revised protocol format. \n is delimiter for messages.