Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas