lib/socket: Bugfix

Bug introduced in pull request #377, in the read function of FFSocket, a free is called on a static variable, which provokes a warning and probably bugs at runtime.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>