#58 Added check for proxy to be registered before sending messages.