Extract $_SERVEr related code to fetch_server_var function
Let get_current_request_method(TSRMLS_D) returns zval