add protocol extension api
update readme to explain the plugin api
1.1.0