Extract formatter interface
Cleanup
Allow floating points to be transformed too
Break out socket wrapper into new file