lib/socket: Socket now subclass of BufferedIStream and OStream

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/socket: Simplified API for Sockets

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/streams: Added interface Pollable to Stream hierarchy

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/socket: Socket now subclass of Pollable interface

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/websocket: Websocket now subclass of BufferedIStream, OStream and Pollable

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard: Stdin/out/err now part of Sys.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard/stream: Changed implementation of read to better respect its documentation

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
debugger: Removed network versions of debugger, now handled via options

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
debugger: Fixed client for new version of Debugger

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
niti: Updated test to comply with the niti without Transform.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Merge: Socket fact

Factorized sockets under Stream, also changed the way to handle std streams.

Pull-Request: #430
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>