io: add trace events for websockets frame handling