httpget now checks for valid urls