[infiniband] Add raw packet parser and constructor