clean up HTTP method resolution code; remove unused process PID stuff