Optimal Mechanism Design with Resale Via Bargaining