Server part: Proper directory structure and dependency on libcurl

Signed-off-by: Frca <killerfrca@gmail.com>
Android part: Convert escaped endlines back as server response, and close connection on request

Signed-off-by: Frca <killerfrca@gmail.com>
Android part: First parts of torrent handling

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