Worthing slipped to a rare defeat when lower-league Gloucester City knocked them out of the FA Trophy by winning a penalty shootout at the end of a 3-3 draw.