Add SSL support to shelf_io.