Fix couple of issues

Fix log breaking with web sockets.
Fix ability to pass arrays directly to port.
Fix running without any workers (as single process)