server/types: add PreConnectCommander for pre-connection commands