add route info to socket