http-parser gem is a Ruby FFI bindings to http-parser (http request/response parser for c). WWW: https://github.com/cotag/http-parser