common route parsing for client & server
Merge pull request #11 from abalandin/common-routing

common route parsing for client & server