move autoaccept logic to application

this commit moves autoaccept out of the library, .sendAnswer() and .accept() in callback.