parse multiline request

use destructuring to refactor server and parameter_decoder