fix not to touch content_type when posting a buffer

“is(data).a(Object)” returns true when “data” is a Buffer. And
previous code is resetting type as “form” if the type isn't set to
“json”.

This commit patches to check a Buffer correctly using
“Buffer.isBuffer” method.