Changed ssl_socket terminating character from '\0' to ' '.