rename apis.
suppress warning when WebSocket enabled.
add more simplified api.