I have finally implemented the connection's persistence along with the timeout mechanism !
I'm also including the basic features of the HTTaP protocol, which I test using telnet:
The first request is the typical "GET /?" command, which returns the JSON-formatted list of features and informations. The format of this list will evolve quickly.
Any invalid or malformed request closes the connection, which happened when I hit "Enter" (resulting in nothing written on my side).
I still have to implement a lot of things !