Fix compilation error when using TLS

- added example program to (partially) read SDP protocol
New Stream::read method to read until a multicharacter delimiter

- general clean-up of indentation and comment formatting