More w3c compliant client

* Handle event types
* Strip space before field value
* Handle field only lines
* Handle comments
* Add LF to data values
Publish multiple lines with multiple parameters of 'data'