request headers should be set as HTTP_ variables in environment.