support ENABLE_REQUESTER and ENABLE_SERVER macro