add endpoint, add protocol logging

Wow not sure how I missed this before