Don't build defense structures unless really necessary, they are just wastes of money. Only build them to support the 1-2 chokepoint planets where you have a starbase to kill ai ships that will never pass that planet.
Turn off pirates, online only the minority plays with them, anyway having a tradeport and a starbase is more than enough to deal with the biggest raid (assuming you are not playing the crazy Diplomacy pirates, but it would be another reason to turn them off).
Overextension? Where?
get as many planets as you can and build fleets to defend. You can be overextended when you have 40 planets or such.. Get starbases for defense against AI or try to launch an attack if you have more ships than your human opponent, attack is always better than defense against humans, there has never been an issue when someone defended the other one into oblivion if you know what I mean. Attack is always necessary, and it requires a big fleet (counter attack where TEC Loyalist has huge problems late game).
And I tell you what noobs do completely wrong online, they think a Titan, 2 capital ships, and maybe 20 frigates are a big fleet-> LOL where? a big fleet is like 50 frigates, some corvettes, titan, capital ship (but not more than 1-2 capital not to drain xp from titan) and maybe carrier cruisers having bunch of strike craft.
If you want to go online, forget TEC Loyalist, their Titan is too bad for beginners as it completely lacks attack purposes, and stands no chance against any other Titan and fleet. TL can play good, but I only saw experts do that, probably better to start with TEC Rebel mainly for the Truce amongst rogues and the awesome Titan, and for the reason it can do attack well, not like the loyalist brother.
2nd cap? what you would like to. It is fun to try what works and what not, and it is not fun always obeying what others say. OK I can recommend some shis for that. Dunov is good for draining antimatter. SOVA can provide good air support and free missile turrets. Marza has huge frontal firepower and if it gets level6... Consider building it 1st and get Missile barrage fast, you almost won the game by that. Corsev is good, but you can live without it. KOL is great ship, but empties antimatter reserves too early to be useful, but the flak burst can help against huge masses of strike craft. Second Akkan, not good strategy, maybe only for interrupting the phase jump preparations of escaping wounded capital ships.
Slow pace? Online almost everyone plays the fastest settings and only some play fast, so maybe try playing them if you really want to try online 