Added net_stream.h, initial implementation