unix line endings
decoder should return null if message only had query