arduino RN-XV WiFly Module ad hoc

Hello, Im trying to make a connection between my laptop and arduino using RN-XV WiFly Module. I will describe what i want to achieve and what ive done so far. Ive set the wifly in ad hoc mode,connected in the wifly from my laptop and using this code in Mega

void setup() {                
        Serial.begin(9600);
        Serial3.begin(9600);
}
void loop() {
     if (Serial3.available()) {
        Serial.write(Serial3.read());
    }
}

and reaching the address that ive set in my browser (i.e 192.186.1.1/test ) im getting this GET

*CLOS**OPEN*GET /test HTTP/1.1
Host: 192.168.1.1
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

So everything ok so far, now i want to create an html file in my laptop(acting as a local webserver) in order to make a button to control a led and then get and print to the html some values from the arduino Can anyone direct me in order to find how i can establish this communication?

thank you