Cleanup protocol

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