closeable even when host is not
added encryption, early alpha version