move some code
make fcgi server support REQUEST_URI
add fcgi tests