Fixes to Twitter URL parsing