RFC: Socket activation support

Please review.
Not sure if we really should check for the return code here.