Made all protocol constants to bytes