add fcgi support
Merge pull request #8 from xgdapg/master

add fcgi support