Added basic configuration for client.
Added ability to open a stream.
Added closing and opening of streams.
Added ability to determine status of stream.