no need to malloc a buffer to read from ssl