adding namespaces
adding tcp stream construction methods