url: fixes socks constants when socksipy is missing