Leaderboard system in C++ or Blueprints

So I am trying to get down to the base level of packets. I want to open a connection, send a specific TCP packet to a specific server, get a specific packet from the specific server then close the connection. Is there a way to do this by using Unreal 4’s networking libraries? If so can I get a small snippet or example? I’d prefer to do this in blueprints as I’ve been limiting myself to them as I am normally a C++ programmer and my solution for this would be to include a third party library to solve this. Of course I want to use Unreal 4 as much as possible So I was hoping there would be a way to do this contained within the engine itself.

This is all for a leaderboard system, a system I want to host myself on my server without having to host the entire game server or anything like that.

Thanks for your time.