HipsterPacket class updated with set methods, getHeader, toDatagram, fromDatagram