ofctl_rest: refine (in progress)

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>