handle deferrred messages with an inproc socket

This is a fix for issue #81 for the API handle implementation.  Another pull request coming for module handle implementation.