Add IsValidHttpUrl method for testing valid http or https url.