add cookie support
add request ip
add support for rewrites and redirects
site spec fix