add server_options parameter, fixes #13