Don't reassign the ids when splitting the request
Use BigEndian
Fix a bug in the key and value buffers