LSP: fixed http port returning 0 when default is set
LSP: lots of fixes