When you use the heredoc syntax to delimit a string, you can't have any whitespace preceding the closing delimiter. So you need to do it like this:
Code:
		$xmlstr = <<<XML
			<AddressValidateRequest USERID="XXXXXXXXX">
				<Address ID="0">
					<Address1></Address1>
					<Address2></Address2>
					<City></City>
					<State></State>
					<Zip5></Zip5>
					<Zip4></Zip4>
				</Address>
			</AddressValidateRequest>
XML;
Or, just use single quotes to define the string...

Once that's fixed, your next error is "Class 'http' not found."