added RAW packet support