resolves #33 add magic encoding header so Ruby 1.9 doesn't choke