Changed mode from binary to list in gen_tcp:connect.