add native threads (requires libczmq) and fix method param guards
add test/thread.nga sampl