Fix for upstream changes
static -> const
Start using if let
Move from the deprecated liburl to servo/rust-url