Validate urls better