Problem: memory leak in s_accept_reply

Solution: free reply string properly.
Problem: was incorrectly processing replies from actor

Solution: flush socket after each reply, not inside loop.
Minor debug output fix