implement rest of the commands and add support for format identifier and
protocol version