changelog:
    * debug socket
todo:
    * pack PB into TLV (thats the main problem right now; when we have
    few pb in one tcp stream