get_current_step interface for random_state_promise
port::protocol_from_socket_type