Added full nsqd implementation