Fixes #65. Rename protocol to transport

This is in preparation for #130 subprotocol support.