Changed PROTOCOL, OLD_PROTOCOL etc to be public constants instead of protected