Removed the unused getProtocolVersion method.