nsq_to_http: i386 atomic ops

same as #454