Changed throw:bad_headers to a tuple in src/chef_wm_base.erl

See:
  - http://tickets.opscode.com/browse/CHEF-3710
  - https://github.com/opscode/chef-pedant/issues/26