add endpoint, add protocol logging
simplify jsonify
fix test
Merge pull request #15 from virgo-agent-toolkit/fixes/add_endpoint

add endpoint, add protocol logging