fix 2 bugs: 1. several callbacks will be called when a message matches the conditions to call callback; 2. add chunk header and tail, as http-parser removes these