make acceptor_server more self contained