removed some dead code from the stream cosocket implementation.
feature: added new API function ngx.thread.kill() for killing a user "light thread". thanks aviramc for the original patch in #288.