Allow charset to be specified in Content-Type header (closes #95)