Validate urls

@dcu this should close #4