Use url.scheme.ptr directly for freeing the allocated URL string, since the scheme is always at the start of a URL. This saves 8 bytes per connection and simplifies the code.