Don't call response.setEncoding when it isn't defined

This would fix #161. Comments or concerns welcome.