added httpPut helper, using optional site_emitter for oauth status change notify