refs #71 fixed off by one error in protocol version check