Attempt to create proper OpenShift hooks.
Fix support for UNIX sockets.
Use a UNIX socket by default.