Add an API for better Rack socket hijacking support