[http-session] Import a specific function instead of file