Using io.ReadFull in place of custom logic
Added LICENSE