Added status code 400 reply option.
Added null byte check for requets path.