http: Fix path to socket object