Moved the heapalloced flag from init to new for ws_named
Merge pull request #595 from TheNeikos/fix-ws_named_init_heapalloc

Moved the heapalloced flag from init to new for ws_named