Normalize URL before anything else (improvement for #30)