Fixed crash caused by buffer overflow
TCP forwarding works in Windows