encapsulated globals in HTTP context example and deleted some more commented php refs