implement major and minor for http protocol version