convert status to int and back (HTTP gem)

Compatibility with https://github.com/tarcieri/http/commit/136e2ad37e857b260345f6c7e14a3f79e59dc901, which introduced a status object.

Do I need to add specs/bump dependencies to complete this?

/cc @ixti