refactor mock backend, accept --skip-setup flag, merge "bayeuxProtocol" and "httpApi" version fields into single "api" field