The FCGI protocol is a binary protocol. This is the current effort to implement a client library. This is not meant to be used to implement FCGI scripts, but to invoke actions on already running FCGI applications.
Current version is still not functional.