Updated TCP client and server declarations and added interfaces

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
Added an application-dedicated loop

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
updated PHPDoc

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
Added ConnectionHandlerInterface and RequestHandlerInterface

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
Added HTTP support

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>