Hsocket

this.__header = '' 
и this.__hasHeader эквивалентен this.__header === ''