Fixed order of connection.write decoding