call BIO_ctrl_pending before BIO_read, it seems to sync stuff
otherwise BIO_read can't read much bytes, don't understand why...
log dndsresult