code cleanup; uri.h included
stdio.h removed
change feature list
getenv() gives NULL, no extra assignement of NULL needed for environment variables