attach with session_name + hostname

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>