Working on exceptions mechanism.
Host address and port now is specified in the web server context.