Former Gravesend footballer Jimmy Bullard has announced his retirement from the game with immediate effect.