net: add server support.