I've been playing around with sockets for a while now. It's starting to feel good, but how can I take it to the next level now? I feel I need more information about Security and how to keep the server safe from threats. More about what's important to know and how to protect against common attacks. Maybe some serious books about it or something similar.
Socket programming is a very different skillset and largely unrelated to securing a server (most tls libraries wrap the socket and encryption protocol together, but technically speaking they're still different). The basics to security are largely common sense. Don't use weak passwords, don't give passwords out, etc, use PAM or LDAP authentication when possible instead of another authentication method. Disable root ssh logins, require ssh key authentication. Don't allow external access to internal services (e.g., your database, your network monitor, etc). Make sure to always keep security updates applied. Make sure your firewall is enabled doing exactly what you think it is. Security is an entire discipline that you could spend your entire life researching. A fun project (and actually what got me into system administration and some security) is setting up a webserver and securing it with a letsencrypt certificate. Bonus points if you get higher than a B on ssllabs.