Using req.accepts() according to implementation. Fixes https://github.co...

Reading the source for req.accepts, I thought this would be a more proper usage. 
Effectively fixes the issue.