http://dev.mysql.com/doc/internals/en/com-stmt-prepare-response.html 

because there are also have a EOF_Packet. so the length may be different in mysql4.1