Wrong length was causing spurious \0 to be sent during SSH negotiation with