enhanced packet.Pack method ,accepting nil writer
move online to agent directory