Added reply_to_socket support