add websocket support.
add json bean codec.