Fixed non-js fallback.
Added OPTIONS method support and dpm for $_SERVER variables.