server: allow empty options

if no options given, make empty options object,
otherwise options.tls will cause an error