Fix for recvmess closing old socket when changing recvmess callback function
Fix for recvmess closing old socket when changing recvmess callback function

* Fixes #1241

sburnett/seattle,sburnett/seattle,sburnett/seattle,sburnett/seattle,sburnett/seattle,sburnett/seattle