pass server in to Telegraph constructor