improved version of master server
add htmlspecialchars check
Merge pull request #28 from ihptru/new

improved version of master server