Hi ...
It's been a long time ago since I worked with keepalived, but reading your described symptom, I have a guess that somehow keepalived "shutdown" the network connection to your mysql slave.
It could be due to something that block the http probing, like described in your keepalived config.
BTW, about Mysql error code, I got hints from this URL:
http://serverfault.com/questions/295...rror-2013-mean
hope it helps...