Add -fPIC to LIB_OPTION so lfcgi will build
Fix line endings of wsapi.cgi

Using CRLF causes Linux to fail with `/usr/bin/wsapi.cgi: bad interpreter:
/usr/bin/lua^M: no such file or directory`
Don't assume the content-type of POST.

This change allows to specify a content-type other than
x-www-form-urlencoded
Merge pull request #9 from ignacio/pr_mock

Don't assume the content-type of POST.
Merge pull request #7 from cmr/master

Add -fPIC so lfcgi will build.
Merge pull request #8 from cmr/lineendings

Fix line endings in wsapi.cgi
changing WSAPI to support Lua 5.2 (without breaking compatiblity with 5.1)
changes to comply with Lua 5.2 module policies broke some code; fixing it
patch lfcgi.c to work with lua 5.2
do not break compatibility with lua 5.1 through use of _ENV
fix methods table for response.lua
more fixes for lua 5.2
Add additional options for cookies such as httponly and max age.
Fix receiver:read() function.

string.sub second argument must be an index, not the length of the
substring to extract.
Don't prepend '?' to wsapi.request.qs_encode output

This change makes qs_encode produce proper querystrings according to RFC
3875 but we need to take that into account when appending that to a url
(that is, we need to append "?" before the querystring ourselves).
Fix error: 'invalid use of '%' in replacement string'
Copy initial environ so we can check it for values after starting but without swapping the current and old eniron.
Fix allocation so there is enough space to put a NULL at the end of the copied env list.
Install wsapi.lua as part of install target.
Merge pull request #16 from user-none/fastcgi_environ

FastCGI fixes