http-parser gem is a Ruby FFI bindings to http-parser (http request/response parser for c).