Add nsq.Writer

Just want to simplify nsq write. maybe code is a bit ugly, you can judge merge or not.
thank you.