Add unix socket support

Add unix socket support + fix undefined log()