Fix erasure tool to actually work
Added TCP bind() implementation (sort of, only the port is used)