tessel/runtime#643 r=@jiahuang: make http consume tcp errors properly