String construction actually works if you pass a valid pointer
Fix calloc call
Fix ws_string_set_from_raw()