Fix keep-alive bug

By always returning an empty body as response make sure that the connection will
not be kept alive.
Add brackets to method calls
Log errors during startup
Allow trailing slash for gom service url on deploy