fix for newer versions off cowboy, as HTTP version changed from two-tuple to atom