Refactored stream class
Add encoder names to codecs
Add protocols to servers