Send error message as text to client
 

Change-Id: I06deea01cc6eb9f7dc03ceea0fe0a53d4533fd9e