Accept and reject reqest moved to protocolHandler for testing