Python Socket Overhead Reduction