Server part: Add dependency on curl project (exluded directories: docs, src, tests)

Signed-off-by: Frca <killerfrca@gmail.com>
Server part: Update Cmake file to match current changes in project and compile project statically

Signed-off-by: Frca <killerfrca@gmail.com>