Add ws string set from raw

targets #194 

Please review. I'm not sure if I need an additional free() call in the function.