mod Makefile to accommodate include flags
implement general URL request fn