Refactored tcp_server to allow registering SLLP functions

Also, insert blink leds function