Renaming on_init to on_prepare callback
Implementing on_accept/protocol feature of listen command.