Add head option to libcommuni