Add support for protocol version (Fx 36+ only)

Closes #18