LSP: make preview respect protocol.pubaddr
Created by: iameli
This allows the preview to work even when behind sophisticated reverse-proxy setups and whatnot.
Let me know if I'm using pubaddr
properly here... tested both with and without that parameter.