Fix status code to Integer

This causes fail, 'comparison of String with 200 failed'
Ruby2.0.0-rc1
Merge pull request #241 from sanemat/fix/status-code

Fix status code to Integer