build.ps1: Added packaging step.
server: Don't throw wrapped error outside of request domain.
server: Read port from argv.