Update for API changes

Remove onLoad and add getProtocol

Signed-off-by: Jack Huey kitskub@gmail.com