Scala HTTP server abstraction