Client packet handling