Update oauth.js

allow send Buffer in request body.