Man, 36, before London court on terrorism charges