minor changes to support aarch64 + initial support of TcpStream

1 job for master in 72 minutes and 3 seconds (queued for 1 second)