nsqd: http tests

this adds basic tests (and benchmark) for nsqd's HTTP API cc @bitly/nsq